home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
ear
/
mui23dev.lha
/
MUI
/
Developer
/
Autodocs
/
MUI_Listview.doc
< prev
next >
Wrap
Text File
|
1994-12-23
|
4KB
|
154 lines
TABLE OF CONTENTS
Listview.mui/Listview.mui
Listview.mui/MUIA_Listview_ClickColumn
Listview.mui/MUIA_Listview_DefClickColumn
Listview.mui/MUIA_Listview_DoubleClick
Listview.mui/MUIA_Listview_Input
Listview.mui/MUIA_Listview_List
Listview.mui/MUIA_Listview_MultiSelect
Listview.mui/MUIA_Listview_ScrollerPos
Listview.mui/MUIA_Listview_SelectChange
Listview.mui/Listview.mui
It's important to know that MUI makes a difference
between a list and a listview. A list is just a
collection of some entries and is part of a listview,
which attaches a scrollbar and input handling to
the list.
During object creation time, you have to be careful
not specifying listview tags for the list object
or list tags for the listview object, both versions
won't work. Once the objects are setup, you can
of course talk to the listview as if it was the
list directly.
Listview.mui/MUIA_Listview_ClickColumn
NAME
MUIA_Listview_ClickColumn -- (V7 ) [..G], LONG
FUNCTION
When using a multi column list, this attribute contains the number of
the column where the user clicked.
SEE ALSO
MUIA_Listview_DefClickColumn
Listview.mui/MUIA_Listview_DefClickColumn
NAME
MUIA_Listview_DefClickColumn -- (V7 ) [ISG], LONG
FUNCTION
When the listview is controlled with the keyboard and the user
presses RETURN, the value given here will be used as default
for MUIA_Listview_ClickColumn.
SEE ALSO
MUIA_Listview_ClickColumn
Listview.mui/MUIA_Listview_DoubleClick
NAME
MUIA_Listview_DoubleClick -- (V4 ) [I.G], BOOL
FUNCTION
This attribute is set to TRUE whenever the user
double clicks on an entry in the list.
SEE ALSO
MUIA_Listview_SelectChange
Listview.mui/MUIA_Listview_Input
NAME
MUIA_Listview_Input -- (V4 ) [I..], BOOL
FUNCTION
Setting this to FALSE will result in a read only
list view. Defaults to TRUE.
SEE ALSO
MUIA_Listview_MultiSelect
Listview.mui/MUIA_Listview_List
NAME
MUIA_Listview_List -- (V4 ) [I..], Object *
FUNCTION
Every listview needs a list object as child.
Specify it here.
As every other child, it will get disposes when
its parent object is disposed.
EXAMPLE
ListviewObject,
MUIA_Listview_Input, FALSE,
MUIA_Listview_List , ListObject,
ReadListFrame,
MUIA_List_Format , ",,",
End,
End;
SEE ALSO
MUIA_Listview_Input
Listview.mui/MUIA_Listview_MultiSelect
NAME
MUIA_Listview_MultiSelect -- (V7 ) [I..], LONG
SPECIAL INPUTS
MUIV_Listview_MultiSelect_None
MUIV_Listview_MultiSelect_Default
MUIV_Listview_MultiSelect_Shifted
MUIV_Listview_MultiSelect_Always
FUNCTION
Four possibilities exist for a listviews multi select
capabilities:
MUIV_Listview_MultiSelect_None:
The listview cannot multiselect at all.
MUIV_Listview_MultiSelect_Default:
The multi select type (with or without shift) depends on
the users preferences setting.
MUIV_Listview_MultiSelect_Shifted:
Overrides the users prefs, multi selecting only together
with shift key.
MUIV_Listview_MultiSelect_Always:
Overrides the users prefs, multi selecting without shift key.
Please do *not* override the users prefs unless you have a
good reason!
SEE ALSO
MUIA_List_MultiTestHook
Listview.mui/MUIA_Listview_ScrollerPos
NAME
MUIA_Listview_ScrollerPos -- (V10) [I..], BOOL
SPECIAL INPUTS
MUIV_Listview_ScrollerPos_Default
MUIV_Listview_ScrollerPos_Left
MUIV_Listview_ScrollerPos_Right
FUNCTION
Specifies the position of a listviews scrollbar.
Don't use this tag unless it's absolutely required!
Listview.mui/MUIA_Listview_SelectChange
NAME
MUIA_Listview_SelectChange -- (V4 ) [..G], BOOL
FUNCTION
This attribute is set to TRUE whenever the selection state
of one or more items in the list is changing. You can
use this e.g. if you want to display the number of
selected items in a status line.
SEE ALSO
MUIA_List_MultiSelect